<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ComponentPluginController</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class ComponentPluginController</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_controllers---ComponentPluginController.php.html">/controllers/ComponentPluginController.php</a> (line <span class="field">3</span>)
		</p>
		
				
		<pre>Zend_Controller_Action
   |
   --<a href="../default/GenesisController.html">GenesisController</a>
      |
      --ComponentPluginController</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentAction" title="details" class="method-name">getComponentAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentConfigPageAction" title="details" class="method-name">getComponentConfigPageAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentDemoAction" title="details" class="method-name">getComponentDemoAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentLabelOptionsAreaAction" title="details" class="method-name">getComponentLabelOptionsAreaAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getComponentTableJsonAction" title="details" class="method-name">getComponentTableJsonAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setComponentTableRowJsonAction" title="details" class="method-name">setComponentTableRowJsonAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#showComponentTableGridAction" title="details" class="method-name">showComponentTableGridAction</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#showComponentWindowAction" title="details" class="method-name">showComponentWindowAction</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../default/GenesisController.html">GenesisController</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_acl">GenesisController::$_acl</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_actionName">GenesisController::$_actionName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_config">GenesisController::$_config</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_controllerName">GenesisController::$_controllerName</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_defaults">GenesisController::$_defaults</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../default/GenesisController.html#var$_registry">GenesisController::$_registry</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodgetComponentAction" id="getComponentAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getComponentAction</span> (line <span class="line-number">372</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays a component  It is possible to get paramaters as a json encoded string called params  or as get/post variables.</p>
<p class="description"><p>Requires: _REQUEST['id'] , _REQUEST['params']            _REQUEST['label']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComponentConfigPageAction" id="getComponentConfigPageAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getComponentConfigPageAction</span> (line <span class="line-number">144</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Shows the relevant component's config page</p>
<p class="description"><p>Requires: _REQUEST['id']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentConfigPageAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComponentDemoAction" id="getComponentDemoAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getComponentDemoAction</span> (line <span class="line-number">332</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays the demo page of the requested component.</p>
<p class="description"><p>Required: _REQUEST['id']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentDemoAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComponentLabelOptionsAreaAction" id="getComponentLabelOptionsAreaAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getComponentLabelOptionsAreaAction</span> (line <span class="line-number">173</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Shows the extended options of the relevant components.</p>
<p class="description"><p>Required: _REQUEST['id']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentLabelOptionsAreaAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetComponentTableJsonAction" id="getComponentTableJsonAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getComponentTableJsonAction</span> (line <span class="line-number">278</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets component's table from db according to page, rows, sidx and sord.</p>
<p class="description"><p>Requires: _REQUEST['name'] , _REQUEST['table']            _REQUEST['page'] , _REQUEST['rows']            _REQUEST['sidx'] , _REQUEST['sord']</p><p>Returns: Array where 'page'    =&gt; Page number                       'total'   =&gt; Total number of pages                       'records' =&gt; Total number of rows                       'rows'    =&gt; Component usage rows as an Array           Returned as json message in $view-&gt;jsonMessage</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getComponentTableJsonAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetComponentTableRowJsonAction" id="setComponentTableRowJsonAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setComponentTableRowJsonAction</span> (line <span class="line-number">234</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Handler for add, del, and edit action of relevant component's jqGrid.</p>
<p class="description"><p>Requires: _REQUEST['name']   , _REQUEST['table']            _REQUEST['id']            _REQUEST['oper'] - operation to perform</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setComponentTableRowJsonAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodshowComponentTableGridAction" id="showComponentTableGridAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">showComponentTableGridAction</span> (line <span class="line-number">106</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Shows the releveant component table in a grid, and sets required vars for  the view.</p>
<p class="description"><p>Requires:_REQUEST['name']                , _REQUEST['table']           _REQUEST['table_element_name']  , _REQUEST['col_names']           _REQUEST['col_model']           , _REQUEST['row_num']           _REQUEST['row_list']            , _REQUEST['jq_grid_theme']           _REQUEST['sort_name']           , _REQUEST['sort_order']           _REQUEST['title']               , _REQUEST['primary_key']</p><p>Returns: Sets all above vars in the view to their values.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showComponentTableGridAction
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodshowComponentWindowAction" id="showComponentWindowAction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">showComponentWindowAction</span> (line <span class="line-number">198</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parse the relevant component's template file and display it</p>
<p class="description"><p>Required: _REQUEST['component'], _REQUEST['template']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showComponentWindowAction
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../default/GenesisController.html">GenesisController</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../default/GenesisController.html#methodinit">GenesisController::init()</a></span><br>
													<span class="method-name"><a href="../default/GenesisController.html#methodpreDispatch">GenesisController::preDispatch()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 30 Oct 2009 19:32:34 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>